/*
 * @Autor: dingxiaolin
 * @Date: 2021-06-02 13:12:45
 * @LastEditors: dingxiaolin
 * @LastEditTime: 2021-06-15 12:03:15
 */
import http from '@/utils/http/axios'
import { type } from './interface'

/**
 * @description: 获取枚举列表
 */
export function getEnumApi(code) {
    return http.request<type.EnumItem[]>({
        url: `/app-admin/dict/dropDown?code=${code}`,
        method: 'GET',
    })
}
